package com.example.lijuan.myapplication.network;

import com.example.lijuan.myapplication.Util.Constants;

import com.squareup.okhttp.Interceptor;
import com.squareup.okhttp.Request;
import com.squareup.okhttp.Response;

import java.io.IOException;

public class DeviceServiceClient {
    private static final String TAG = DeviceServiceClient.class.getSimpleName();

    private static Interceptor interceptor = new Interceptor() {
        @Override
        public Response intercept(Chain chain) throws IOException {
            Request request = chain.request().newBuilder().addHeader("Content-Type", "application/json").addHeader("header", Constants.ACCEPT).build();
            return chain.proceed(request);
        }
    };

}
